 GET_Customer() 
	 = "11111111111111111111111111111111111111111111111111";
//X-Origin-Request-Id	(required) Request identifier (UUID) header	string
//X-Timestamp	(required) Timestamp in ISO8601 datetime format header	string code	(required)
//Customer promo code query	string
//curl  -H "Accept: application/json" -X GET https://udsgame.com/v1/partner/customer -v
//Curl curl -X GET --header "Accept: application/json" --header "X-Origin-Request-Id: fe6930f8-1231-4798-aa2d-02a5f8e7d931" --header "X-Timestamp: 2015-03-17T12:00:01.000Z" "http://udsgame.com/v1/partner/customer?code=rirg2425"
//Request URL http://udsgame.com/v1/partner/customer?code=rirg2425 

     = "www.udsgame.com";

	 = ("txt_");
	
	XOriginRequestId = ( ());
	XTimestamp = (((), "=yyyy-MM-ddT05hh:mm:ssZ" ));
	
	URL = "/v1/partner/customer?code=" + ;
	
	 =  HTTP;
	..("Accept", "application/json");
	..("X-Origin-Request-Id", (XOriginRequestId));
	..("X-Timestamp", (XTimestamp));
	..("X-Api-Key", );
	
	. = URL;
	
	ssl =  OpenSSL();
	Con =  HTTP(, , , , , 10, ssl);
		
	Con.(, );
	
	 =  ;
	.(, .UTF8);
	 = .();
	 ;
	
	



 POST_purchase_(, JSON) 
	 = "11111111111111111111111111111111111111111111111111";
	
	//curl -X POST -H "x-api-key: $key" http://udsgame.com/v1/partner/purchase?total=$total&cash=$cash&scores=$scores&code=$code

     = "www.udsgame.com";

	 = ("txt_");
	
	XOriginRequestId = ( ());
	XTimestamp = (((), "=yyyy-MM-ddT05hh:mm:ssZ" ));
		
	URL = "/v1/partner/purchase?total=$total&cash=$cash&scores=$scores&code=$code";
		
	 .("total")  URL = (URL, "$total", (.total, "=0; =")); ;
	 .("cash")  URL = (URL, "$cash", (.cash, "=0; =")); ;
	 .("scores")  URL = (URL, "$scores", (.scores, "=0; =")); ;
	 .("code")  URL = (URL, "$code", .code); ;
	
	ssl =  OpenSSL();
	Con =  HTTP(, , , , , 10, ssl);
	
	HTTP =  HTTP(URL);
	HTTP..("X-Api-Key", );
			
	Con.(HTTP, );

	 =  ;
	.(, .UTF8);
	 = .();

	 ;  
	

